<template>
  <div class="login">
      <div class="loginInfo">
        <div class="account">
          <router-link to="/LoginPssword">密码登录</router-link>
          <router-link to="/LoginSms">短信登录</router-link>
        </div>
        <router-view></router-view>
        <div class="LoginMine" @click="loginhome">
          <span >登入</span>
        </div>
      </div>
      
    <span @click="assis">跳过进入小助手</span>
  </div>
</template>

<script>
export default {
  name: "login",
  data() {
    return {
      username: "",
      password: "",
    };
  },
  methods: {
    assis(){
        this.$router.push({
            path:'/assihome'
        })
    },
    loginhome(){
      this.$router.push({
        path:'/home'
      })
    }
  },
};
</script>

<style lang="less" scoped>
.login{
  margin-top: 20%;
  height: 262px;
  
  .loginInfo{
    width: 304px;
    height: 214px;
    margin-top: 75px;
    margin: 0 auto;
    .account{
      height: 26px;
      margin-bottom: 20px;
      a{
        display: block;
        font-weight: 700;
        height: 20px;
        float: left;
        border-bottom: 2px solid red;
        color: #000;
      }
      a:first-child{
        margin-right: 10px;
      }
    }
  }
}
.LoginMine{
  height: 40px;
  background: #fe4400;
  margin-top: 20px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  span{
    color: #fff;
    font-size: 17px;
  }
}
</style>